<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title>登录页面</title>
<link rel="stylesheet" href="./css/login.css">
</head>
<body>

    <div class="login-container">
        <h2>登录</h2>
        <div class="form-group">
          <label for="username">手机号</label>
          <input type="text" id="username" required>
        </div>
        <div class="form-group">
          <label for="password">密码</label>
          <input type="password" id="password" required>
        </div>
        <div class="form-group">
          <label for="captcha">验证码</label>
          <input type="text" id="captcha" required>
          <span id="captcha-value" style="margin-left: 10px;"></span>
          <button type="button" onclick="generateCaptcha()">获取验证码</button>
          <button type="button" onclick="login()">登录</button>
        </div>
    </div>

    <script src="./js/login.js"></script>
</body>
</html>